All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.StringDrawer

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.StringDrawer

public class StringDrawer
extends NativeObject
This class wraps the Objective-C class NSJavaStringDrawer.


Constructor Index

 o StringDrawer()
This default constructor is equivalent to Objective-C's [[NSJavaStringDrawer alloc] init].
 o StringDrawer(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.

Method Index

 o drawAtPoint(String, Point, Dictionary)
A wrapper for the + drawAtPoint::withAttributes: Objective-C class method.
 o drawInRect(String, Rect, Dictionary)
A wrapper for the + drawInRect::withAttributes: Objective-C class method.
 o sizeWithAttributes(String, Dictionary)
A wrapper for the + sizeWithAttributes:: Objective-C class method.

Constructors

 o StringDrawer
 protected StringDrawer(boolean shouldAllocate,
                        int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o StringDrawer
 public StringDrawer()
This default constructor is equivalent to Objective-C's [[NSJavaStringDrawer alloc] init].

Methods

 o sizeWithAttributes
 public static native Size sizeWithAttributes(String string,
                                              Dictionary attrs)
A wrapper for the + sizeWithAttributes:: Objective-C class method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, StringDrawer, should be enough to head you in the right direction should you find more than one such method).

 o drawAtPoint
 public static native void drawAtPoint(String string,
                                       Point point,
                                       Dictionary attrs)
A wrapper for the + drawAtPoint::withAttributes: Objective-C class method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, StringDrawer, should be enough to head you in the right direction should you find more than one such method).

 o drawInRect
 public static native void drawInRect(String string,
                                      Rect rect,
                                      Dictionary attrs)
A wrapper for the + drawInRect::withAttributes: Objective-C class method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, StringDrawer, should be enough to head you in the right direction should you find more than one such method).


All Packages  Class Hierarchy  This Package  Previous  Next  Index